package com.mali.malibackendmodel.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.mali.malibackendmodel.pojo.Price;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class ProductAddDTO {
    private String name;
    private Integer num;
    private Integer limits;
    private String imgUrl;
    private List<String> sendAddress;
    private List<String> unsendAddress;
    private String describes;
    private Integer status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime onlineTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime downlineTime;
    private String type;
    private String details;
    private String className;
    private String company;
    private String phoneNumber;
    private String productServer;
    private List<Price> priceList;
}
